<?php $t1=microtime(1);?>
<?php echo $header; ?>



<script type="text/javascript">



	$(document).ready(function() {



		$('#advertisement').nivoSlider({effect:'fold,sliceUpDownLeft,sliceDownLeft,sliceDown'});



	});



</script>



	<div class="unlogin">



		<table width="200" cellspacing="0" cellpadding="0">



			<?php if(!isset($route)||$route=='common/home'){ ?>



			<tr>



				<td colspan="2" height="40" style="background:url(catalog/view/theme/default/images/img_10.png) no-repeat left center;"></td>



			</tr>



			<tr>



				<td colspan="2">We are here to help you?</td>



			</tr>



			<tr>



				<td colspan="2" style="background:url(catalog/view/theme/default/images/icon_13.png) left center no-repeat;">



				<b>1.866.706.0948</b>



				</td>



			</tr>



			<tr>



				<td colspan="2" style="background:url(catalog/view/theme/default/images/icon_14.png) left center no-repeat;">



				                



                <a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=90497404bda88d95@apps.messenger.live.com&mkt=en-US"><b>Live Chat</b> <img src="http://messenger.services.live.com/users/90497404bda88d95@apps.messenger.live.com/presenceimage?mkt=en-US" width="20" height="20" align="bottom" style="border-style: none;" /></a>                



				</td>



			</tr>



			<tr>



				<td colspan="2" style="background:url(catalog/view/theme/default/images/icon_15.png) left center no-repeat;">



			<b>E-mail:</b>



			</td>



			</tr>



			<tr>



				<td><b>service@mallplus.ca</b></td>



			</tr>



			<tr>



				<td>



					<div class="linkbtns">



						<a target="_blank" href="https://www.facebook.com/pages/Mallplusca/236484846483749" title="facebook"><img src="catalog/view/theme/default/images/facebook.png"></a>



						&nbsp;<a target="_blank" href="https://twitter.com/mallplus" title="twitter"><img src="catalog/view/theme/default/images/twitter.png"></a>



					&nbsp;<a href="http://blog.mallplus.ca/" title="Blog" target="_blank"><img src="catalog/view/theme/default/images/rss.png"/></a>

                    

                    &nbsp;<a href="http://pinterest.com/mallplus/" title="pinterest" target="_blank"><img src="catalog/view/theme/default/images/pinterest.png"/></a>



&nbsp;<a href="https://www.youtube.com/user/mallplusteam?feature=mhee" title="youtube" target="_blank"><img src="catalog/view/theme/default/images/youtube.png"/></a></div>



                    

                    

                    </div>





				</td>



			</tr>



			<?php } ?>



		</table>



</div>



	



	<?php echo $column_left; ?>



	<div class="page" style="min-height: 1025px;">



    	<div style="width:550px;" class="inner">



            <div id="advertisement" class="nivoSlider theme-default">



		<?php foreach($focus_pics as $pic){?>



			<?php if($pic['href']){ ?>



				<a href="<?php echo $pic['href'];?>" target="_blank"><img src="<?php echo $pic['pic'];?>" width="550" height="240"></a>



			<?php }else{ ?>



				<img src="<?php echo $pic['pic'];?>" width="550" height="240">



			<?php } ?>



		<?php }?>



            </div>



            <div style="margin:5px 0;">



                <table width="760" cellspacing="0" cellpadding="0">



                  <tbody><tr>



                    <td><img onclick="previous('pictures')" class="cursor_pointer" src="catalog/view/theme/default/images/img_07.png"></td>



                    <td width="100%" id="pictures">



                    	<?php foreach ($last_products as $last_product) { ?>



				<div><a href="index.php?route=product/product&product_id=<?php echo $last_product['product_id']; ?>" target="_blank" title="<?php echo $last_product['old_name']?>">



                            <img src=<?php echo $last_product['image']; ?> >



                            <br>



                            <span><?php echo $last_product['name']; ?></span><br>



			    <?php if (!$last_product['special']) { ?>



					<span class="price-new"><?php echo $last_product['price']; ?></span>



					<?php } else { ?>



					<span class="price-old"><?php echo $last_product['price']; ?></span> <span class="price-new"><?php echo round($last_product['special'],2); ?></span>



					<?php } ?>



			    



			    </a>



                        </div>



				 		<?php } ?>



                    </td>



                    <td><img onclick="next('pictures')" class="cursor_pointer" src="catalog/view/theme/default/images/img_08.png"></td>



                  </tr>



                </tbody></table>	



            </div>



            <div class="_panel">



                <h1><a href="index.php?route=product/special/oth&type=is_sale"><span>On Sale</span></a><span class="more"><a href="index.php?route=product/special/oth&type=is_sale">More...</a></span></h1>



                <?php foreach ($on_sales as $on_sale) { ?>



	                <div>



	                	<a href="index.php?route=product/product&product_id=<?php echo $on_sale['product_id']; ?>" target="_blank" title="<?php echo $on_sale['old_name']?>">



		                    <img src=<?php echo $on_sale['image']; ?> >



		                    <h3 style="height:40px;overflow:hidden"><?php echo $on_sale['name']; ?></h3>



		                    <?php if (!$on_sale['special']) { ?>



								<span class="price-new"><?php echo $on_sale['price']; ?></span>



								<?php } else { ?>



								<span class="price-old"><?php echo $on_sale['price']; ?></span> <span class="price-new">$<?php echo round($on_sale['special'],2); ?></span>



						<?php } ?>



		                    <?php if($on_sale['discount_per']!=0){ ?>



					<span>(<?php echo $on_sale['discount_per'];?>%off)</span>



					<div><?php echo $on_sale['discount_per'];?>%<br />off</div>



					<?php }?>



		                </a>



	                </div>



                <?php } ?>



            </div>



            <div class="_panel">



                <h1><a href="index.php?route=product/special/oth&type=is_rec"><span>Recommendations</span></a><span class="more"><a href="index.php?route=product/special/oth&type=is_rec">More...</a></span></h1>



               <?php foreach ($recs as $rec) { ?>



	                <div>



	                	<a href="index.php?route=product/product&product_id=<?php echo $rec['product_id']; ?>" target="_blank" title="<?php echo $rec['old_name']?>">



		                    <img src=<?php echo $rec['image']; ?> >



		                    <h3 style="height:40px;overflow:hidden"><?php echo $rec['name']; ?></h3>



		                    <?php if (!$rec['special']) { ?>



							<font class="price-font"><?php echo $rec['price']; ?></font>



							<?php } else { ?>



							<span class="price-old"><?php echo $rec['price']; ?></span> <span class="price-new"><?php echo round($rec['special'],2); ?></span>



							<?php } ?>



							<?php if($rec['discount_per']!=0){ ?>



							<span>(<?php echo $rec['discount_per'];?>%off)</span>



							<div><?php echo $rec['discount_per'];?>%<br />off</div>



							<?php }?>



		                </a>



	                </div>



                <?php } ?>



            </div>



        </div>



    </div>



<?php echo $footer; ?>



<div class="shadow"></div>
<?php echo microtime(1)-$t1."<br />";?>